package jiekou3;

/**
 * 盗贼类
 */
public class Robber extends Role implements Attack,Rob,SelfIntroduce{
    public Robber() {
    }

    public Robber(String name, int level) {
        super(name, level);
    }

    @Override
    public void attack() {
        System.out.println(getName() + "使用了普通攻击");
    }

    @Override
    public void rob() {
        System.out.println(getName() + "使用了偷盗技能");
    }

    @Override
    public void selfIntroduce() {
        System.out.println("我是盗贼");
    }
}
